number = int(input('输入一个十进制的数:'))
q = bin(number)
w = oct(number)
e = hex(number)
print("十进制数:", number,"转化为二进制为:", q)
print("十进制数:", number,"转化为八进制为:", w)
print("十进制数:", number,"转化为十六进制为:", e)